﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Camc.Quality.Migrations
{
    public partial class _20211009083154_add_mating : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<Guid>(
                name: "WorkStepId",
                table: "StoreStockContents",
                nullable: true);

            migrationBuilder.AddColumn<Guid>(
                name: "ModelId",
                table: "MaterialsContents",
                nullable: false,
                defaultValue: new Guid("00000000-0000-0000-0000-000000000000"));

            migrationBuilder.AddColumn<Guid>(
                name: "SendTimeId",
                table: "MaterialsContents",
                nullable: false,
                defaultValue: new Guid("00000000-0000-0000-0000-000000000000"));
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "WorkStepId",
                table: "StoreStockContents");

            migrationBuilder.DropColumn(
                name: "ModelId",
                table: "MaterialsContents");

            migrationBuilder.DropColumn(
                name: "SendTimeId",
                table: "MaterialsContents");
        }
    }
}
